package com.tedu.springdemo.day04;
import com.tedu.springdemo.day01.NetConnection;


public class NetConnInstanceFactory {
    public NetConnection getInstance(){
        NetConnection nc = new NetConnection();
        nc.load();
        nc.ping();
        nc.conn();
        return nc;
    }
}